<p>{if $error}{translate text="sms_failure"}{else}{translate text="sms_success"}{/if}</p>